import{isArray as n,isString as o,isObject as t}from"lodash-unified";import{stringUtil as e}from"../string/index.mjs";const r={objectToQueryString(n){let o="";for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(""!==o&&(o+="&"),o+=`${encodeURIComponent(t)}=${encodeURIComponent(n[t])}`);return o},objectToStyle:i=>n(i)?i.filter(function(n){return null!=n&&""!==n}).map(function(n){return r.objectToStyle(n)}).join(";"):o(i)?i:t(i)?Object.keys(i).filter(function(n){return null!=i[n]&&""!==i[n]}).map(function(n){return[e.toCamelCase(n),i[n]].join(":")}).join(";"):""};export{r as objectUtil};
//# sourceMappingURL=index.mjs.map
